package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.CourseSchedule;

import java.util.List;

/**
 * 课程排课Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface CourseScheduleMapper extends BaseMapper<CourseSchedule>
{
    /**
     * 查询课程排课
     * 
     * @param id 课程排课ID
     * @return 课程排课
     */
    public CourseSchedule selectCourseScheduleById(Long id);

    /**
     * 查询课程排课列表
     * 
     * @param courseSchedule 课程排课
     * @return 课程排课集合
     */
    public List<CourseSchedule> selectCourseScheduleList(CourseSchedule courseSchedule);

}
